package de.mhus.lib.mandala.tag;

import de.mhus.lib.mandala.Response;
import de.mhus.lib.mandala.attributes.ArrayAttribute;

public class Data extends TagBindData {

	private ArrayAttribute data;

	public Data(ArrayAttribute data) {
		this.data = data;
	}

	@Override
	public void doRender(Response out, String name, String type) {
		out.print("foreach: ");
		getData().renderElementName(out);
	}

	public ArrayAttribute getData() {
		return data;
	}

	public void setData(ArrayAttribute data) {
		this.data = data;
	}

}
